import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index.ts";
import axios from "axios";
import VueAxios from "vue-axios";
import { createPinia } from "pinia";
import Antd from "ant-design-vue";
import $td from "./components/td/";
import "ant-design-vue/dist/reset.css";
import naive from 'naive-ui';  // naive-ui全局配置naive-ui全局配置

const app = createApp(App);

app.config.globalProperties.$td = $td;

app
  .use(createPinia())
  .use(router)
  .use(VueAxios, axios)
  .use(Antd)
  .use($td)
  .use(naive)  
  .mount("#app");
